package cn.wolfcode.luowowo.search.repository;

import cn.wolfcode.luowowo.search.template.QuestionTemplate;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface QuestionRepository extends ElasticsearchRepository<QuestionTemplate,Long> {

    List<QuestionTemplate> findByDestName(String name);
}
